/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package LiveReservations.control.info;

import LiveReservations.control.action.EActionState;
import LiveReservations.model.business.ABusiness;

/**
 *
 * @author Alexei
 */
public class SearchBusinessInfo implements IInformation {

    private ABusiness business;

    public SearchBusinessInfo(ABusiness inBusiness) {
        this.business = inBusiness;
    }

    public ABusiness getBusiness() {
        return business;
    }

    public void setBusiness(ABusiness business) {
        this.business = business;
    }

    @Override
    public EActionState getActionState() {
        return EActionState.SEARCH_BUSINESS;
    }

}
